#include "ros/ros.h"
//#include "/home/johane/ros_workspace/ekekrantz_slam/msg_gen/cpp/include/ekekrantz_slam/kinect_data.h"
#include "cvap_6D_slam/kinect_data.h"
#include <string.h>
using namespace cvap_6D_slam;
int main(int argc, char **argv)
{
	ros::init(argc, argv, "dummy_kinect_node");
	ros::NodeHandle n;
	ros::Publisher chatter_pub = n.advertise<kinect_data>("kinect_data", 1000);
	ros::Rate loop_rate(30);
	while (ros::ok())
	{
		kinect_data msg;
		msg.timing 	= 13.37;
		msg.rgb 	= "rgb";
		msg.depth 	= "depth";
		chatter_pub.publish(msg);
		ros::spinOnce();
		loop_rate.sleep();
  }


  return 0;
}
